import Vue from 'vue'
import Router from 'vue-router'
import Cnode from '@/pages/cnode/Cnode'
import Detail from '@/pages/cnode/Detail'

Vue.use(Router)

export default new Router({
  routes: [
  {
      path: '/',
      name: 'Cnode',
      component: Cnode
    },
    {
        path: '/detail/:id',
        name: 'Detail',
        component: Detail
      },
   
    
    
  ]
})
